<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="utf-8" />
<title>最家</title>
<link rel="stylesheet" type="text/css" href="css/public.css" />
<link rel="stylesheet" type="text/css" href="css/idea.css" />
</head>
<body>
	<!------------------------------head------------------------------>
	<div class="head">
		<div class="wrapper clearfix">
			<div class="clearfix" id="top">
				<h1 class="fl">
					<a href="index.jsp"><img src="img/logo.png" width="147" height="60" /></a>
				</h1>
				<div class="fr clearfix" id="top1">
					<c:if test="${not empty loginUser }">
						<p class="fl">欢迎你:${loginUser.name }</p>
					</c:if>
					<c:if test="${empty loginUser }">
						<p class="fl">
							<a href="login.jsp" id="login">登录</a> <a href="reg.jsp" id="reg">注册</a>
						</p>
					</c:if>

					<form action="AllIndexProduct.do" method="get" class="fl">
						<input type="text" name="name" placeholder="搜索" /> <input
							type="submit" value="" />
					</form>
					<div class="btn fl clearfix">
						<a href="toMygxin.do"><img src="img/grzx.png" />
						</a> <a href="#" class="er1"><img src="img/ewm.png" />
						</a> <a href="findShopcarts.do"><img src="img/gwc.png" /></a>
						<p>
							<a href="#"><img src="img/smewm.png" /></a>
						</p>
					</div>
				</div>
			</div>
			<ul class="clearfix" id="bott">
				<li><a href="index.jsp">首页</a></li>
				<c:forEach items="${listFl}" var="f">
					<li><a href="AllIndexProduct.do?tid=${f.id}">${f.type_name }</a>
						<div class="sList2">
							<div class="clearfix">
							<c:forEach items="${f.sonlist}" var="son">
								<a href="AllIndexProduct.do?tid=${son.id}">${son.type_name }</a>
							</c:forEach>
							</div>
						</div>
					</li>
				</c:forEach>
			</ul>
		</div>
	</div>
	<!------------------------------idea------------------------------>
	<div class="address">
		<div class="wrapper clearfix">
			<a href="index.jsp" class="fl">首页</a> <span>/</span> <a
				href="idea.jsp" class="on">Dr钻戒</a>
		</div>
	</div>
	<!------------------------------imgList1------------------------------>
	<div class="imgList1">
		<div class="wrapper">
			<div class="box1">
				<a href="findAll.do?id=${p.id}" class="banner"><img src="../images/banner.jpg" width="1160" height="517" /></a>
				<c:forEach items="${listTj}" var="p" varStatus="xh">
					<c:if test="${xh.count % 3 == 1 }">
						<ul>
					</c:if>
					<li><a href="findAll.do?id=${p.id}">
							<dl>
								<dt>
									<img src="../${p.imgMain }" width="354" height="354" />
								</dt>
								<dd>【${p.typeName }】${p.name }</dd>
								<dd>¥${p.newPrice }</dd>
							</dl>
					</a></li>
					<c:if test="${xh.count % 3 == 0 }">
						</ul>
					</c:if>
				</c:forEach>
			</div>
			<h2>
				<img src="img/ih5.jpg" />
			</h2>
			<div class="box2">
				<a href="findAll.do?id=${p.id}" class="banner"></a>
				<c:forEach items="${listQt}" var="p" varStatus="xh">
					<c:if test="${xh.count % 4 == 1 }">
						<ul>
					</c:if>
					<li><a href="findAll.do?id=${p.id}" class="on">
							<dl>
								<dt>
									<img src="../${p.imgMain }" width="268" height="268" />
								</dt>
								<dd>【${p.typeName }】${p.name }</dd>
								<dd>¥${p.newPrice }</dd>
							</dl>
					</a></li>
					<c:if test="${xh.count % 4 == 0 }">
						</ul>
					</c:if>
				</c:forEach>
			</div>
		</div>
	</div>


	<!--返回顶部-->
	<div class="gotop">
		<a href="cart.jsp">
			<dl>
				<dt>
					<img src="img/gt1.png" />
				</dt>
				<dd>
					去购<br />物车
				</dd>
			</dl>
		</a> <a href="#" class="dh">
			<dl>
				<dt>
					<img src="img/gt2.png" />
				</dt>
				<dd>
					联系<br />客服
				</dd>
			</dl>
		</a> <a href="mygxin.jsp">
			<dl>
				<dt>
					<img src="img/gt3.png" />
				</dt>
				<dd>
					个人<br />中心
				</dd>
			</dl>
		</a> <a href="#" class="toptop" style="display: none;">
			<dl>
				<dt>
					<img src="img/gt4.png" />
				</dt>
				<dd>
					返回<br />顶部
				</dd>
			</dl>
		</a>
		<p>400-800-8200</p>
	</div>
	<!--footer-->
	<div class="footer">
		<div class="top">
			<div class="wrapper">
				<div class="clearfix">
					<a href="#2" class="fl"><img src="img/foot1.png" /></a> <span
						class="fl">7天无理由退货</span>
				</div>
				<div class="clearfix">
					<a href="#2" class="fl"><img src="img/foot2.png" /></a> <span
						class="fl">15天免费换货</span>
				</div>
				<div class="clearfix">
					<a href="#2" class="fl"><img src="img/foot3.png" /></a> <span
						class="fl">满599包邮</span>
				</div>
				<div class="clearfix">
					<a href="#2" class="fl"><img src="img/foot4.png" /></a> <span
						class="fl">手机特色服务</span>
				</div>
			</div>
		</div>
		<p class="dibu">
			最家家居&copy;2013-2017公司版权所有 京ICP备080100-44备0000111000号<br />
			违法和不良信息举报电话：400-800-8200，本网站所列数据，除特殊说明，所有数据均出自我司实验室测试
		</p>
	</div>
	<script src="js/jquery-1.12.4.min.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="js/public.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/nav.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
